<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
		
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		
		<title>Panel</title>
		<!--                       CSS                       -->
	  	<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />

		<!-- Reset Stylesheet -->
		<link rel="stylesheet" href="css/reset.css" type="text/css" media="screen" />
	  
		<!-- Main Stylesheet -->
		<link rel="stylesheet" href="css/style.css" type="text/css" media="screen" />
		<link rel="stylesheet" href="css/popup.css" type="text/css" media="screen" />
		<!-- Invalid Stylesheet. This makes stuff look pretty. Remove it if you want the CSS completely valid -->
		<link rel="stylesheet" href="css/invalid.css" type="text/css" media="screen" />	
        
		
		<!-- Colour Schemes
	  
		Default colour scheme is green. Uncomment prefered stylesheet to use it.
		
		<link rel="stylesheet" href="css/blue.css" type="text/css" media="screen" />
		
		<link rel="stylesheet" href="css/red.css" type="text/css" media="screen" />  
	 
		-->
		
		<!-- Internet Explorer Fixes Stylesheet -->
		
		<!--[if lte IE 7]>
			<link rel="stylesheet" href="css/ie.css" type="text/css" media="screen" />
		<![endif]-->
		
		<!--                       Javascripts                       -->
  
		<!-- jQuery -->
		<script type="text/javascript" src="scripts/jquery.js"></script>
		
		<!-- jQuery Configuration -->
		<script type="text/javascript" src="scripts/simpla.jquery.configuration.js"></script>
		
		<!-- Facebox jQuery Plugin -->
		<script type="text/javascript" src="scripts/facebox.js"></script>
		
		<!-- jQuery WYSIWYG Plugin -->
		<script type="text/javascript" src="scripts/jquery.wysiwyg.js"></script>
		
		<!-- jQuery Datepicker Plugin -->
		<script type="text/javascript" src="scripts/jquery.datePicker.js"></script>
		<script type="text/javascript" src="scripts/jquery.date.js"></script>
		<!--[if IE]><script type="text/javascript" src="scripts/jquery.bgiframe.js"></script><![endif]-->

		
		<!-- Internet Explorer .png-fix -->
		
		<!--[if IE 6]>
			<script type="text/javascript" src="scripts/DD_belatedPNG_0.0.7a.js"></script>
			<script type="text/javascript">
				DD_belatedPNG.fix('.png_bg, img, li');
			</script>
		<![endif]-->
		
		<!-- JS common file -->
		<script type="text/javascript" src="scripts/common.js"></script>
		
		<!-- 日期控件 -->
		<script type="text/javascript" src="scripts/My97DatePicker/WdatePicker.js"></script>
		
		<!-- JQuery Dialog Modal -->
		<link rel="stylesheet" href="css/jquery_css/jquery.ui.all.css" type="text/css" />
		<script src="scripts/jquery.bgiframe-2.1.2.js"></script>
		<script src="scripts/jquery.ui.core.js"></script>
		<script src="scripts/jquery.ui.widget.js"></script>
		<script src="scripts/jquery.ui.mouse.js"></script>
		<script src="scripts/jquery.ui.draggable.js"></script>
		<script src="scripts/jquery.ui.position.js"></script>
		<script src="scripts/jquery.ui.resizable.js"></script>
		<script src="scripts/jquery.ui.dialog.js"></script>
		
		<!-- 色板控件 -->
		<script src="scripts/farbtastic.js"></script>
		<link rel="stylesheet" href="css/farbtastic.css" type="text/css" />
		
	</head>
  
	<body><div id="body-wrapper"> <!-- Wrapper for the radial gradient background -->
		
		<div id="sidebar"><div id="sidebar-wrapper"> <!-- Sidebar with logo and menu -->
			
			<h1 id="sidebar-title"><a href="#">Hearst广告系统</a></h1>
		  
			<!-- Logo (221px wide) -->
			<a href="#"><img id="logo" src="images/logo.png" alt="Hearst广告系统" /></a>
		  
			<!-- Sidebar Profile links -->
			<div id="profile-links">
				Hello, <a href="#" title="Edit your profile"><% $smarty.session.ads.user->username %></a>, 您有 <a href="#messages" rel="modal" title="3 Messages">3 条消息</a><br />
				<br />
				<a href="http://cmstop.viivtech.com" title="view the site" target="_blank">查看站点</a> | <a href="javascript:void(0)" onclick="logout('?do=login.logout')">登出</a>
			</div>        
			
			<ul id="main-nav">  <!-- Accordion Menu -->
				
				<li>
					<a href="index.php?do=main.show" class="nav-top-item  no-submenu <% if $op_select=='main'%>  current<% /if %>"> <!-- Add the class "no-submenu" to menu items with no sub menu -->
						控制面板
					</a>       
				</li>
				
				<li> 
					<a href="#" class="nav-top-item <% if $op_select=='kws'%>no-submenu  current<% /if %>"> <!-- Add the class "current" to current menu item -->
					Keyword广告
					</a>
					<ul>
					    <li><a href="index.php?do=kws.show" <% if $child_select=='show' && $op_select=='kws' %>class="current"<% /if %> >管理Keyword导入广告</a></li>
					    <li><a href="index.php?do=kws.show_l" <% if $child_select=='show_l' && $op_select=='kws' %>class="current"<% /if %> >管理Keyword投放广告</a></li>
						<li><a href="index.php?do=kws.view" <% if $child_select=='info'  && $op_select=='kws' %>class="current"<% /if %> >添加Keyword广告</a></li> <!-- Add class "current" to sub menu items also -->
						

					</ul>
				</li>
				
				<li>
					<a href="#" class="nav-top-item <% if $op_select=='vbc'%>no-submenu  current<% /if %>">
						VBC广告</a>
					<ul>
					    <li><a href="index.php?do=vbc.show" <% if $child_select=='show' && $op_select=='vbc' %>class="current"<% /if %>>管理VBC广告</a></li>
						<li><a href="index.php?do=vbc.view" <% if $child_select=='info' && $op_select=='vbc' %>class="current"<% /if %>>添加VBC广告</a></li>
					</ul>
				</li>
				
				<li>
					<a href="#" class="nav-top-item <% if $op_select=='pic'%>no-submenu  current<% /if %>">
						图片广告</a>
					<ul>
						<li><a href="index.php?do=pic.show" <% if $child_select=='show' && $op_select=='pic' %>class="current"<% /if %> >管理图片广告</a></li>
						<li><a href="index.php?do=pic.view" <% if $child_select=='info' && $op_select=='pic' %>class="current"<% /if %> >添加图片广告</a></li>
					</ul>
				</li>
				
				<li>
					<a href="#" class="nav-top-item <% if $op_select=='article'%>no-submenu  current<% /if %>">
						关键词搜索
					</a>
					<ul>
						<li><a href="index.php?do=article.show" <% if $child_select=='show' && $op_select=='article' %>class="current"<% /if %>>搜索文章</a></li>
					</ul>
				</li>
    
				
			</ul> <!-- End #main-nav -->
			
			<div id="messages" style="display: none"> <!-- Messages are shown when a link with these attributes are clicked: href="#messages" rel="modal"  -->
				
				<h3>3条消息</h3>
			 
				<p>
					<strong>16th Feb 2012</strong> by Admin<br />
					惠鼎关键词广告系统敏捷开发完成
					<small><a href="#" class="remove-link" title="Remove message">Remove</a></small>
				</p>
			 
				<p>
					<strong>16th Feb 2012</strong> by Admin<br />
					惠鼎VBC广告系统敏捷开发完成
					<small><a href="#" class="remove-link" title="Remove message">Remove</a></small>
				</p>
			 
				<p>
					<strong>16th Feb 2012</strong> by Admin<br />
					准备开始迭代
					<small><a href="#" class="remove-link" title="Remove message">Remove</a></small>
				</p>
				
				<form action="#" method="post">
					
					<h4>新消息</h4>
					
					<fieldset>
						<textarea class="textarea" name="textfield" cols="79" rows="5"></textarea>
					</fieldset>
					
					<fieldset>
					
						<select name="dropdown" class="small-input">
							<option value="option1">发送给...</option>
							<option value="option2">每个人</option>
							<option value="option3">Admin</option>
							<option value="option4">#</option>
						</select>
						
						<input class="button" type="submit" value="Send" />
						
					</fieldset>
					
				</form>
				
			</div> <!-- End #messages -->
			
		</div></div> <!-- End #sidebar -->